# coding  = utf-8

import unittest

# 加载某个类下的所有测试用例至用例集
suite = unittest.TestSuite(unittest.makeSuite(你的测试用例类名))

if __name__ == '__main__':
    # 执行测试用例
    runner = unittest.TextTestRunner()
    runner.run(suite)
